package com.party.core.dao.read.commune;

import com.party.common.annotation.DataAuthParam;
import com.party.common.paging.Page;
import com.party.core.dao.read.BaseReadDao;
import com.party.core.model.commune.CMoment;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @program: party
 * @description: 动态数据读取接口
 * @author: Hua Qunhao
 * @create: 2019-12-18 14:50
 **/
public interface CMomentReadDao extends BaseReadDao<CMoment> {

    @DataAuthParam(moduleType="MEMBERMGMT" ,field="create_by",alias="cm")
    List<CMoment> webListPage(@Param("params")Map<String,Object> params, Page page);
    List<CMoment> mobileListPage(@Param("params")Map<String,Object> params, Page page);
}
